
function xinzhengdizhi(type){
	 $("#goumais").html("");
	$.ajax({
		url: urlcore + "/api/incrementService/isToBuyIncrementService2?type="+type,
		type: "get",
		dataType: 'json',
		contentType: "application/json;charset=utf-8",
		success:function(data){
			if (data.success == true) {
				if(data.data==false){
					var chuchuang='<div class="sell_zengzhi_tishi">您还没有购买任何套餐</div>';
				 $("#goumais").append(chuchuang);
				}else{
					$.each(data.data, function(y,m) {
						var chuchuang='<li class="clearfix">'+
'			<dl>'+
'				<dt>'+
'					<img src="../images/zengzhi07.png">'+
'				</dt>'+
'				<dd>'+
'					<h2>'+m.title+'</h2>'+
'					<h6>有效期：'+m.validityTime+'天</h6>'+
'				</dd>'+
'			</dl>'+
'			<a href="../12.2.0zhifu_zengzhi.html?tid='+m.id+'"">&yen;'+m.price+'</a>'+
'		</li>';
						    $("#goumais").append(chuchuang);
					});
				}
			}else{
				//alert("123")
				var chuchuang='<div class="sell_zengzhi_tishi">您还没有购买任何套餐</div>';
				 $("#goumais").append(chuchuang);
			}
		},
		error:function() {
			/* Act on the event */
			alert("error");
		}
	});	

}